home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / commit_xact.man < prev    next >
Text File  |  1993-04-22  |  1KB  |  45 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89              commit_xact
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  commit_xact
  6.  
  7.   FUNCTION:
  8.        Mark a distributed transaction as being committed.
  9.  
  10.   SYNTAX:
  11.        RETCODE commit_xact(connect, commid)
  12.  
  13.        DBPROCESS *connect;
  14.        DBINT     commid;
  15.  
  16.   COMMENTS:
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   commit_xact             Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.        o This routine informs the commit service that the  status  of  a
  28.          distributed transaction should be changed from "begin" to "com-
  29.          mit."
  30.  
  31.   PARAMETERS:
  32.        connect -  A pointer to the DBPROCESS used  to  communicate  with
  33.            the commit service.
  34.        commid -  The commid used to identify the transaction to the com-
  35.            mit service.
  36.  
  37.   RETURNS:
  38.        SUCCEED or FAIL.  If commit_xact() fails, you must roll back  the
  39.        transaction.
  40.  
  41.   SEE ALSO:
  42.        abort_xact, remove_xact, scan_xact, start_xact, stat_xact
  43.  
  44.  
  45.